/* package pro.xxh.servlet;

import pro.xxh.JdbcUtils;

import javax.servlet.annotation.WebFilter;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebFilter(urlPatterns = "/xxh/index.jsp")
public class UserEnableServlet {
@Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp)
        String id = req.getParameter("id");
        String sql = "UPDATE `user` SET `disabled` = 0 WHERE id = ?";
        JdbcUtils.modify(sql, id);
        resp.sendRedirect("xxh/user-list.jsp")

} */

